/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package weyetong;



//<editor-fold defaultstate="collapsed" desc="comment">
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import org.pushingpixels.substance.api.skin.SubstanceCremeCoffeeLookAndFeel;
import org.pushingpixels.substance.api.skin.SubstanceOfficeBlue2007LookAndFeel;
import weyetong.gui.LoginGui;




/**
 *
 * @author Administrator
 */
public class WeyeTong {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
            // TODO code application logic here
           
SwingUtilities.invokeLater(new Runnable() {  
      public void run() {  
                try {
                    UIManager.setLookAndFeel("org.pushingpixels.substance.api.skin.SubstanceNebulaLookAndFeel");
            LoginGui l = new LoginGui();
            
            LoginGui.setDefaultLookAndFeelDecorated(true);
            l.setVisible(true);
                } catch (ClassNotFoundException ex) {
                    Logger.getLogger(WeyeTong.class.getName()).log(Level.SEVERE, null, ex);
                } catch (InstantiationException ex) {
                    Logger.getLogger(WeyeTong.class.getName()).log(Level.SEVERE, null, ex);
                } catch (IllegalAccessException ex) {
                    Logger.getLogger(WeyeTong.class.getName()).log(Level.SEVERE, null, ex);
                } catch (UnsupportedLookAndFeelException ex) {
                    Logger.getLogger(WeyeTong.class.getName()).log(Level.SEVERE, null, ex);
                }
      }  
    });  
//            MainGui m = new MainGui();
//            m.setVisible(true);
 
        
     }
}
